Skip to content

Document bidDesirabilityAdjustment bidder setting#6602

Merged
muuki88 merged 1 commit into
masterfrom
codex/document-new-biddesirability-function
Jun 5, 2026
Merged

Document bidDesirabilityAdjustment bidder setting#6602
muuki88 merged 1 commit into
masterfrom
codex/document-new-biddesirability-function

Conversation

@patmmccann

Copy link
Copy Markdown
Collaborator

Motivation

  • Introduce documentation for the new bidDesirabilityAdjustment bidder setting so publishers understand how to rank bids by a publisher-defined score without changing CPM.
  • Clarify how desirability interacts with existing CPM adjustments, price buckets, and ad server targeting so users can adopt the feature safely.

Description

  • Add bidDesirabilityAdjustment to the pbjs.bidderSettings attribute table with scope, version (11.15.0) and a short description.
  • Add a new section that explains the purpose, arguments (bidDesirabilityAdjustment(cpm, bidResponse, bidRequest)), fallback behavior (logs error and falls back to adjusted CPM) and a usage example showing how to prefer deal bids for ordering without changing CPM.
  • Update surrounding wording to note that price-bucket changes do not affect CPM or desirability ordering, adjust heading levels and link text to satisfy lint rules.

Testing

  • Ran npx --yes markdownlint-cli --config .markdownlint.json dev-docs/publisher-api-reference/bidderSettings.md, which passed after the edits.
  • Performed bundle install to install site dependencies and then ran bundle exec jekyll build, which completed successfully and generated the site.
  • Note: markdownlint was not available in PATH initially so npx was used, and jekyll required bundle install before the build could run.

Codex Task

@netlify

netlify Bot commented Jun 4, 2026

Copy link
Copy Markdown

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit 294c80f
🔍 Latest deploy log https://app.netlify.com/projects/prebid-docs-preview/deploys/6a218f8b70d20f000894e952
😎 Deploy Preview https://deploy-preview-6602--prebid-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@patmmccann patmmccann requested a review from mkomorski June 4, 2026 14:45
@muuki88

muuki88 commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Related PR prebid/Prebid.js#14860

@muuki88 muuki88 merged commit 95b2a96 into master Jun 5, 2026
6 checks passed
@muuki88 muuki88 deleted the codex/document-new-biddesirability-function branch June 5, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants